package com.app.mapper;

import com.app.model.DutiesModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface DutiesMapper extends BaseMapper<DutiesModel> {
    List<DutiesModel> selectDuties(Integer page, Integer limit, String keyword,Integer type);

    List<DutiesModel> selectAllDuties(Integer page, Integer limit, String keyword);

    Integer getCount();

    Integer getCountByType(Integer type);
}
